<?php


                mysql_connect("127.0.0.1", "root","tupian001") ;
				   
				mysql_select_db("wangdaizs.com");
				   
				mysql_query("set names utf8");
				
				
				
				
				
				
				$time=time()-86400;
				
				$sql="delete from paichong where time<".$time;
				
				var_dump($sql);
				$re=mysql_query($sql);
				
				if($re){
				  
				  echo "1";
				
				}else{
				
				  echo "2";
				}
				
				//unlink("./images/1469525147996.mpeg4");